// Str.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

int main(int argc, char* argv[])
{
    unsigned char mem[4] = {0};
    int i;
	
    __asm str mem;
    printf (" STR base: 0x");
    for (i=0; i<4; i++)
    {
        printf("%02x",mem[i]);
    }
	
    if ( (mem[0]==0x00) && (mem[1]==0x40))
        printf("\n INSIDE VM!!\n");
    else
        printf("\n Native OS!!\n");
    return 0;
}

